package edu.gxnu.cetcdemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.gxnu.cetcdemo.pojo.Message;
import edu.gxnu.cetcdemo.utils.Result;

/**
* @author Uplifted
* @description 针对表【message】的数据库操作Service
* @createDate 2024-04-02 15:09:11
*/
public interface MessageService extends IService<Message> {

    Result queryMessage();

    Result queryReply(long id);

    Result addMessage(Message message);

    Result addReply(Message message, long id);

    Result delMessage(long id);
}
